package pl.makowski.neotripletriad.player;

import android.util.Log;
import pl.makowski.neotripletriad.card.Card;

public class Player {
	private static final String  TAG = Player.class.getSimpleName();
	private int mPoints;
	private Card[] mHand;
	
	public Player(Card[] hand) {
		mPoints = 5;
		if ((hand != null) && (hand.length == 5)) {
			mHand = hand;
		} else {
			Log.e(TAG, "hand null or size other than 5");
		}
	}

	public int getPoints() {
		return mPoints;
	}

	public void setPoints(int points) {
		this.mPoints = points;
	}

	public Card[] getHand() {
		return mHand;
	}
}
